<include file="Public:header" />
			<include file="Public:menu" />
			<div id="right">
				<div class="top"></div>
				<div class="app_right_banner">
					<div class="app_face">
						<img src="__PUBLIC__/Uploads/face/small/{$userInfo['faceimg']}"/>
					</div>
					<div class="app_userinfo">
						<?php 
						if($userInfo['id'] == $myId){
						 ?>
						<p class="app_module">我的日志</p>
						<p class = "app_module_back"><a href="__APP__/user">返回我的空间</a></p>
						<?php 
						}else{
						 ?>
							<p class="app_module">{$userInfo['username']}的日志</p>
							<p class = "app_module_back"><a href="__APP__/home/{$userInfo['id']}">查看{$userInfo['usernam']}的空间</a></p>
						<?php 
							}
						 ?>
					</div>
				</div>
				<div class="app_right_menu">
					<?php 
						if($userInfo['id'] == $myId){
					 ?>
					<div class="arm_2">
						<a href="__URL__">好友的日志</a>					
					</div>
					<div class="arm_1">
						我的日志				
					</div>
					<div class="arm_2">
						<a href="__URL__/drafty">草稿箱</a>					
					</div>
					<div class="arm_2">
						<a href="__URL__/addblog">写一篇日志</a>					
					</div>
					<?php 
						}else{
					 ?>
					<div class="arm_1">
						{$userInfo['username']}的日志				
					</div>
					<?php 
						}
					 ?>

				</div>
				<div class="app_right_count">
					{$page}
				</div>
				<div>
					<div class="app_right_left">
						<div class="blogshow">
							<?php 
								if(empty($blogList) && $userInfo['id'] == $myId){
							 ?>
							<div class="norecord"><a href="__URL__/addblog">你还没有发表过，现在写一篇日志</a></div>
							<?php }else{ ?>
							<ul>
								<volist name="blogList" id="blog" empty="没有日志">
								<li>
									<div class="blogshow_body">
										<div class="blogshow_face">
											<img src="__PUBLIC__/Uploads/face/small/{$userInfo['faceimg']}"/>
										</div>
										<div class="blogshow_content">
											<div class="blogtitle">
											<span class="title"><a href="__APP__/showblog/{$blog['id']}">{$blog['title']}</a></span> <span class="li_time">{$blog['regtime']|toDate}</span> <span class="li_time"><a href="__APP__/showblog/{$blog['id']}#revert">{$blog['revertnum']}个评论</a></span>
											</div>
											<div>
												<p>
												{$blog['content']|msubstr=###,0,100|strip_tags}
												</p>
												<p><a href="__APP__/showblog/{$blog['id']}">阅读全文...</a></p>
											</div>
										</div>
									</div>
								</li>
								</volist>
								<li>
									{$page}
								</li>
							</ul>
							<?php } ?>
						</div>
					</div>
					<div class="app_right_right">
					  	
					</div>
				</div>
			</div>
<include file="Public:footer" />